<script lang="ts" setup>
import previewExcel from '@/components/common/PreviewExcel'

const excel =
  'http://192.168.2.107:1808/yycxViop/offline/order/file/2024/08/29/171215836/测试文件.xlsx'
</script>

<template>
  <el-card class="m-base">
    <template #header>目前仅支持 .xlsx/.xls 格式的 Excel 文件预览</template>
    <el-button type="primary" size="default" @click="previewExcel(excel)">预览Excel</el-button>
  </el-card>
</template>

<style lang="scss" scoped></style>
